package com.mxx.common.netty.http;

import io.netty.handler.codec.http.HttpResponseStatus;

import java.io.Serializable;

/**
 * @Auther: Mr. Zeng
 * @Date: 2020/8/3 19:02
 * @Description: 暂无描述
 */
public interface NettyHttpResponseTemplate<T extends Serializable> {

    T with(HttpResponseStatus responseStatus);

    T with(Throwable throwable);
}
